<?php

class Admin_Model_Page2 extends Admin_Model_TreeNode{
    public $Text;
    public $Header;
    
    public function setText($v){$this->Text = $v; return $this;}
    public function setHeader($v){$this->Header = $v; return $this;}
    
    public function getText(){return $this->Text;}
    public function getHeader(){return $this->Header;}
    
    public function __sleep(){
        $a = parent::__sleep();
        $a[] = 'Text';
		$a[] = 'Header';
        return $a;
    }
    
    public function render($options=null){
		return $this->replaceTags(
				$this->prepareLinks(
						$this->getText()
					)
				);
    }
}

?>